package com.booksystem.campuslibrarymanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Time;
import java.time.Year;

@Data
@ApiModel("借阅规则表")
@TableName("borrowingrules_table")
public class BorrowingRulesTable {
    @ApiModelProperty("规则id")
    private int ruleid;

    @ApiModelProperty("最大可借书籍数量")
    private int maxborrowedbooks;

    @ApiModelProperty("借阅期限（天）")
    private int borrowduration;

    @ApiModelProperty("续借次数限制")
    private int renewallimit;

    @ApiModelProperty("创建时间")
    private String createdat;

    @ApiModelProperty("更新时间")
    private String updatetime;


}
